
#pragma once
#include <windows.h>
#include "../ScriptHook/ScriptingTypes.h"

using namespace System;

namespace GTA
{
	public ref class ObjectPool
	{
	private:
		unsigned int _pos;

	public:
		ObjectPool::ObjectPool(u32 objcount);
		bool ObjectPool::Add(u32 handle);
		bool ObjectPool::Remove(u32 handle);

		//literal u32 Max = 1024;
		array<u32>^ ObjectHandles;
		u32 Count;
		u32 Length;
	};

};